<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/include/TLDInclude.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/WEB-INF/include/meta.jsp"%>
<title>用户修改密码</title>
<link href="${ctx}/css/select.css" rel="stylesheet" type="text/css" />


<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
	
});


function checkdata(){
	  if ($("#inputid1").val() == ''  ) {
		  alert("带*的值必须录入");
		  return false;
	  }
	return true;
}
</script>

</head>

<body>
<c:if test="${not empty msg}">
			<div id="message" style="color: red;" align="center">
				${msg}
			</div>
</c:if>
	

    
    <div class="formbody">
    
    <div class="formtitle"><span>修改密码</span></div>
    <form:form action="${ctx}/account/updatepwd" method="post" modelAttribute="entity" >
    <input type=hidden name="id"  value="${user.id}"/>
    <ul class="forminfo">
     <li><label>用户名<b></b></label><label>${user.userName}</label></li>
    <li><label>输入新密码<b>*</b></label><input id="inputid1" name="userPwd" type="text"  class="dfinput" /><i></i></li>
   	   <li><label>&nbsp;</label><input name="" type="submit" onclick="javascript:return checkdata()" class="btn" value="确认保存"/></li>
    </ul>
    
    </form:form>
    </div>


</body>

</html>
